<?php


   class TestAction extends Action{
   
      public function index(){
       
	             $url="http://tupian.ilovehongbao.com/index.php/Pic/index/";   
				 
		 
		         $data=array('name'=>"123",'openid'=>'111','token'=>'223222'); 
		
				$ch = curl_init($url) ;
				curl_setopt($ch, CURLOPT_POST, 1);
				curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
				curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
				curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
				$result = curl_exec($ch) ;
				curl_close($ch);
				
				dump($result);
   
   
     }
   }